//package com.fangngng.pushall.service.impl;
//
//import com.fangngng.pushall.dto.SearchTopicVO;
//import com.fangngng.pushall.mapper.SearchTopicDao;
//import com.fangngng.pushall.service.SearchTopicService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
//import java.util.List;
//
///**
// * @author fei.fang
// * @date 2020/10/6
// **/
//@Service public class SearchTopicServiceImpl implements SearchTopicService {
//
//    @Autowired
//    private SearchTopicDao searchTopicDao;
//
//    @Override
//    public Iterable<SearchTopicVO> findAll(){
//        return searchTopicDao.findAll();
//    }
//
//    @Override
//    public void save(List<SearchTopicVO> list){
//        searchTopicDao.saveAll(list);
//    }
//
//    @Override
//    public void save(SearchTopicVO searchTopicVO){
//        searchTopicDao.save(searchTopicVO);
//    }
//
//    @Override
//    public Iterable<SearchTopicVO> findByTopicName(String name){
//        return searchTopicDao.findByTopicName(name);
//    }
//
//    @Override
//    public Iterable<SearchTopicVO> findByTopicCode(String code){
//        return searchTopicDao.findByTopicCode(code);
//    }
//
//    @Override
//    public Iterable<SearchTopicVO> findByTopicNameOrTopicCode(String text){
//        return searchTopicDao.findByTopicNameOrTopicCode(text);
//    }
//}
